package com.wang.springbootinit.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class TestEssentialsAddRequest {
    @NotNull(message = "科目ID不能为空")
    private Long subjectId;
    
    @NotBlank(message = "内容不能为空")
    private String content;
    
    @NotNull(message = "类型不能为空")
    private Integer type;
} 